#include <stdio.h>

void peach_day(int p_1,int d_e)
{
	int peach_left_new, day_eat_new;
	printf("The %i day, monkey have %i peach(es)\n",d_e,p_1);
	if(d_e != 1)
	{
		peach_left_new = (p_1+1)*2;
		day_eat_new = d_e-1;
		peach_day(peach_left_new,day_eat_new);
	}
	else
	{
		printf("the peach sum of first day is %i",p_1);
	}
 } 
 int main()
 {
 	int peach_left=1, day_eat=10;
 	peach_day(peach_left,day_eat);
 	return 0;
 }
